package com.candy.th01;

/**
 * @author donglin
 * @Title:
 * @类名: Thread
 * @date 2020/7/21
 */
public class Thread02 extends Thread {
    public Thread02() {
    }


    public Thread02(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i <10 ; i++) {
            System.out.println(i+"白龙");
            try {
                Thread.sleep(300);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

        }

    }
}
